package com.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.WlNewFDao;
import com.domain.ReWlNewF;

@Service("WlNewFService")
public class WlNewFService {
	@Resource(name="WlNewFDao")
	private WlNewFDao wlnewFDao;

	public WlNewFDao getWlnewFDao() {
		return wlnewFDao;
	}

	public void setWlnewFDao(WlNewFDao wlnewFDao) {
		this.wlnewFDao = wlnewFDao;
	}

	public List<ReWlNewF> getNewlistF(String string) {
		// TODO Auto-generated method stub
		return wlnewFDao.getNewlistF(string);
	}

	public List<ReWlNewF> getNewlistRight(String string) {
		// TODO Auto-generated method stub
		return wlnewFDao.getNewlistRight(string);
	}

	public ReWlNewF getDetailById(int nid) {
		// TODO Auto-generated method stub
		return wlnewFDao.getDetailById(nid);
	}
	
	
}
